package router

import (
	"zsc-boot/app/customer/api"
	"zsc-boot/core/web"
)

func InitReportRouterGroup() {
	reportApi := api.NewReportApi()
	reportNewApi := api.NewReportNewApi()
	reportGroup := web.GetGin().Group("/report")
	reportGroup.GET("/customerLevelGroup", reportApi.CustomerLevelGroup)
	reportGroup.GET("/customerCount", reportApi.CustomerCount)
	reportGroup.GET("/channelConversion", reportApi.ChannelConversion)
	reportGroup.GET("/userRanking", reportApi.UserRanking)
	reportGroup.GET("/orderByDate", reportApi.OrderByDate)
	reportGroup.GET("/orderByDep", reportApi.OrderByDep)
	reportGroup.GET("/customerFirstUserGroup", reportApi.CustomerFirstUserGroup)
	reportGroup.GET("/importCustomerFirstUserGroup", reportApi.ImportCustomerFirstUserGroup)
	reportGroup.GET("/channelLevelReport", reportNewApi.ChannelLevelReport)
	reportGroup.GET("/channelReport", reportNewApi.ChannelReport)
	reportGroup.GET("/userReport", reportNewApi.UserReport)
}
